SDK UI Protocols
-
Time Restriction UI Protocol.
Declaration
Swift
public protocol TimeRestrictionUIProtocol -
Badge Picker UI Protocol
Declaration
Swift
public protocol BadgePickerUIProtocol -
Email Recovery UI Protocol
Declaration
Swift
public protocol EmailRecoveryUIProtocol -
The
LoginUIProtocolis adopted by a class to present a user interface that prompts the user to enter login credentials. Login credentials are required by the UsherSDK to validate the user’s credentials and restore a badge.Declaration
Swift
public protocol LoginUIProtocol -
User Agreement UI Protocol
Declaration
Swift
public protocol UserAgreementUIProtocol -
Location Consent UI Protocol.
Declaration
Swift
public protocol LocationConsentUIProtocol -
SSO Confirmation UI Protocol.
Declaration
Swift
public protocol SSOConfirmationUIProtocol -
Bluetooth Consent UI Protocol.
Declaration
Swift
public protocol BluetoothConsentUIProtocol -
Geo Fence UI Protocol
Declaration
Swift
public protocol GeoFenceUIProtocol -
Photo Upload UI Protocol
Declaration
Swift
public protocol PhotoUploadUIProtocol -
Passcode UI Protocol
Declaration
Swift
public protocol PasscodeUIProtocol -
Device Provisioning UI Protocol
Declaration
Swift
public protocol DeviceProvisioningUIProtocol -
Server Switch UI Protocol
Declaration
Swift
public protocol ServerSwitchUIProtocol -
UI Protocol for error handling of revoked badge
Declaration
Swift
public protocol RevokedUIProtocol -
Completion block to be called when a user has completed entering credentials.
Declaration
Swift
public typealias CredentialEntryCompletion = (_ username: String?, _ password: String?, _ loginFailureHandler: UsherFailureHandler?) -> VoidParameters
usernameEntered username
passwordEntered password
loginFailureHandlerOptional block for handling login errors that occured when UsherSDK tries to validate the provided credential.
-
Declaration
Swift
public typealias PasscodeVerificationResult = (_ success: Bool, _ attemptsRemaining: Int) -> VoidParameters
successIf the verification succeeded or failed
attemptsRemainingA max of 10 attempts are allowed. If exhausted, all user data is deleted.
SDK UI Protocols Reference